package cn.ulc.store.dao.user;
import cn.ulc.store.dao.BaseDao;

import cn.ulc.store.entity.user.ShopCart;
import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;

/*
* ShopCart
* gen by Jin mapper 2019-05-29
*/
@SqlResource("user.shopCart")
public interface ShopCartDao extends BaseDao<ShopCart> {

  List<ShopCart> findShopCart(Long wxUserId);

  ShopCart findByGoodsIdAndSpecId(Long wxUserId,Long goodsId,Long specId);

  ShopCart findByGoodsSpecId(Long wxUserId,Long goodsSpecId);
}
